<?php

namespace console\controllers;

use yii\base\ErrorException;
use yii\console\Controller;

class ErrorController extends Controller
{
    public function actionIndex()
    {
        throw new ErrorException('测试');
    }

}
